package com.gxa.mapper.statistical;

import com.gxa.pojo.vo.FileDataVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.time.LocalDate;
import java.util.List;
import java.util.Map;

@Repository
public interface UserProfileMapper {

    public Integer todaysFile();

    public Integer selectDifference();

    Integer selectCount();

    Integer selectYearDifference();

    Integer selectMonthCount();

    Integer selectmonthDifference();

    Integer selectWeekCount();

    Integer selectWeekDifference();

    List<FileDataVo> selectCountByDate(@Param("startDate") LocalDate startDate, @Param("endDate")LocalDate endDate);

    List<FileDataVo> selectCountByAge();

    Double selectRatioBySex();

}
